package com.yzf.wisecoder.wisecodercommon.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author jianghuiyong
 * @Description 大屏配置请求实体
 * @date 2020/5/13 21:42
 */
@Data
@Accessors(chain = true)
public class ViewConfigReq {


    private Long viewId;
    /**
     * 大屏名称
     */
    @ApiModelProperty(value = "大屏展示名称", required = true)
    @NotBlank(message = "大屏名称不能为空")
    private String viewName;
    /**
     * 缩略图地址
     */
    @ApiModelProperty(value = "缩略图地址")
    private String viewPic;
    /**
     * 项目ID
     */
    @ApiModelProperty(value = "项目ID", required = true)
    @NotNull(message = "项目ID不能为空")
    private Long projectId;
    /**
     * 项目大屏配置
     */
    @ApiModelProperty(value = "项目大屏配置", required = true)
    @NotBlank(message = "大屏配置不能为空")
    private String viewTemConfig;
}
